package com.weetop.akly.bean;

import lombok.Data;

/**
 * Created by yzhya on 2018/11/7.
 */
@Data
public class PostMessage {
    // eventbus key
    private String key;
    // eventbus  data
    private Object object;
    private Object object2;

    public String getKey() {
        return key;
    }

    public void setKey(String key) {
        this.key = key;
    }

    public Object getObject() {
        return object;
    }

    public void setObject(Object object) {
        this.object = object;
    }

    public Object getObject2() {
        return object2;
    }

    public void setObject2(Object object2) {
        this.object2 = object2;
    }

    public PostMessage() {
    }
    public PostMessage(String key) {
        this.key = key;
    }

    public PostMessage(String key, Object object) {
        this.key = key;
        this.object = object;
    }

    public PostMessage(String key, Object object, Object object2) {
        this.key = key;
        this.object = object;
        this.object2 = object2;
    }
}